package com.ruoyi.car.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excels;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 【请填写功能名称】对象 cat_repair
 *
 * @author ruoyi
 * @date 2020-07-21
 */
public class CatRepair extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    @Excels({
            @Excel(name = "车牌号", targetAttr = "cCarid", type = Excel.Type.EXPORT),
            @Excel(name="车辆类型",targetAttr = "cType" ,type = Excel.Type.EXPORT)
    })
    private CarManage carManage;

    /** 记录id */
    private Long cId;

    /** 车牌号 */
    //@Excel(name = "车牌号")
    private String cCarld;

    /** 登记时间 */
    @Excel(name = "登记时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cTime;

    /** 申请人头像 */
    //@Excel(name = "申请人头像")
    private String cPicture;

    /** 申请人 */
    @Excel(name = "申请人")
    private String cPeople;

    /** 申请人部门 */
    @Excel(name = "申请人部门")
    private String cDepa;

    /** 上传文件 */
    @Excel(name = "上传文件")
    private String cData;

    /** 备注 */
    @Excel(name = "备注")
    private String cRemark;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal cMoney;

    /** 申请状态 */
   // @Excel(name = "申请状态")
    private Long cStatus;

    /** 审批意见 */
   // @Excel(name = "审批意见")
    private String cText;

    public CarManage getCarManage() {
        return carManage;
    }

    public void setCarManage(CarManage carManage) {
        this.carManage = carManage;
    }


    public void setcId(Long cId)
    {
        this.cId = cId;
    }

    public Long getcId()
    {
        return cId;
    }
    public void setcCarld(String cCarld)
    {
        this.cCarld = cCarld;
    }

    public String getcCarld()
    {
        return cCarld;
    }
    public void setcTime(Date cTime)
    {
        this.cTime = cTime;
    }

    public Date getcTime()
    {
        return cTime;
    }
    public void setcPicture(String cPicture)
    {
        this.cPicture = cPicture;
    }

    public String getcPicture()
    {
        return cPicture;
    }
    public void setcPeople(String cPeople)
    {
        this.cPeople = cPeople;
    }

    public String getcPeople()
    {
        return cPeople;
    }
    public void setcDepa(String cDepa)
    {
        this.cDepa = cDepa;
    }

    public String getcDepa()
    {
        return cDepa;
    }
    public void setcData(String cData)
    {
        this.cData = cData;
    }

    public String getcData()
    {
        return cData;
    }
    public void setcRemark(String cRemark)
    {
        this.cRemark = cRemark;
    }

    public String getcRemark()
    {
        return cRemark;
    }
    public void setcMoney(BigDecimal cMoney)
    {
        this.cMoney = cMoney;
    }

    public BigDecimal getcMoney()
    {
        return cMoney;
    }
    public void setcStatus(Long cStatus)
    {
        this.cStatus = cStatus;
    }

    public Long getcStatus()
    {
        return cStatus;
    }
    public void setcText(String cText)
    {
        this.cText = cText;
    }

    public String getcText()
    {
        return cText;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("cId", getcId())
                .append("cCarld", getcCarld())
                .append("cTime", getcTime())
                .append("cPicture", getcPicture())
                .append("cPeople", getcPeople())
                .append("cDepa", getcDepa())
                .append("cData", getcData())
                .append("cRemark", getcRemark())
                .append("cMoney", getcMoney())
                .append("cStatus", getcStatus())
                .append("cText", getcText())
                .append("carManage", getCarManage())
                .toString();
    }
}